package com.kai.mqtt.message;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author weijk
 * @since 2024/6/9
 */
@Data
@Accessors(chain = true)
public class WillMessage {

    /**
     * 主题
     */
    private String topic;

    /**
     *qos
     */
    private Integer qos;

    /**
     * 是否保留
     */
    private Boolean isRetain;

    /**
     * 消息内容
     */
    private byte[] messageBytes;
}
